package com.jxc.biz.impl;

import com.jxc.biz.RecordBiz;
import com.jxc.dao.RecordDao;
import com.jxc.entity.Record;
import com.jxc.util.PageBean;

public class RecordBizImpl implements RecordBiz {
	private RecordDao dao;
	
	
	public Record getRecord(Record record) {
		return dao.getRecord(record);
	}
	public PageBean getRecordList(String hql, PageBean pb) {
		return dao.getRecordList(hql, pb);
	}

	public void update(Record record) {
        dao.update(record);
	}
	
	public RecordDao getDao() {
		return dao;
	}

	public void setDao(RecordDao dao) {
		this.dao = dao;
	}

}
